# outer(hello)()
class Outer:

    def __init__(self, fun):
        self.fun = fun

    def __call__(self, *args, **kwargs):
        print(args)
        print('call....')
        print('功能增强,before...')
        self.fun()
        print('功能增强,after...')

def he():
    print('he...')


@Outer
def hello():
    print('hell0.......')


hello
# Outer(hello)()
